Put java script into a page.
Use 2 variables to conditionally pop up alerts.